Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / clients / {id} / certificates / {attr} / upload-certificate

Upload only certificate, not private key

Path parameters:
realm - realm name (not id!)
id - id of client (not client-id)
attr -

Resource Methods
Method Summary
NameDescription
POST /admin/realms/{realm}/clients/{id}/certificates/{attr}/upload-certificateUpload only certificate, not private key

Method Detail

POST /admin/realms/{realm}/clients/{id}/certificates/{attr}/upload-certificate

Upload only certificate, not private key

HTTP Example:
POST /admin/realms/{realm}/clients/{id}/certificates/{attr}/upload-certificate
API Example:

ClientAttributeCertificateResource.uploadJksCertificate({'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */,
  'attr': /* attributePrefix */,
  '$entity': /* input */});

Input:
MultipartFormDataInput
Output:
CertificateRepresentation -
Produces:
application/json
Consumes:
multipart/form-data

Keycloak REST Services 1.5.0-Final